﻿/**	rect.hpp
 *	----	Create Time Stamp	--2007-02-10 23:08:03--
 *------------------------------------------------------------------------------
 *	Mean	:
 *	Author	:Nick Shallery	(nicknide@gmail.com)
 *	Version	:1.0.4.4	(2009-10-03 22:10:12)
 *------------------------------------------------------------------------------
**/	/*YOU HAVE ALL LEFT WITH THIS CODE WHILE YOU KEEP COMMENT IN EVERY COPY.*/

#if			!defined(__LOLIX__SOLA__RECT__K_IN_G__)
#define		__LOLIX__SOLA__RECT__K_IN_G__
//==============================================================================
//--------------------------------------------------------------------------

namespace lolix{namespace sola{
	template<typename _Ty>
	class rect
	{
	public:
		_Ty left;
		_Ty top;
		_Ty right;
		_Ty bottom;

		template<typename _To>
		inline rect<_Ty>& operator = (const rect<_To> rc)
		{
			left = rc.left;
			top = rc.top;
			bottom = rc.bottom;
			right = rc.right;
			return *this;
		}
	};
}}



//--------------------------------------------------------------------------
//==============================================================================
#endif	//	!defined(__LOLIX__SOLA__RECT__K_IN_G__)
